#include "StdAfx.h"
#include "ConnectionRequestEventArgs.h"

using namespace Adaptive::Network::Sockets;

/*--------------------------------------------------------------------------------
 * Constructor / Dispose / Destructor Methods
 *------------------------------------------------------------------------------*/
#pragma region Constructor / Dispose / Destructor Methods

ConnectionRequestEventArgs::ConnectionRequestEventArgs(ISocketConnection^ socketHandle) : ConnectionEventArgs(socketHandle)
{
}
ConnectionRequestEventArgs::~ConnectionRequestEventArgs()
{
}
#pragma endregion

/*--------------------------------------------------------------------------------
 * Public Properties
 *------------------------------------------------------------------------------*/
#pragma region Public Properties

bool ConnectionRequestEventArgs::Allow::get()
{
	return _allow;
}
void ConnectionRequestEventArgs::Allow::set(bool value)
{
	_allow = value;
}
#pragma endregion
